package com.hualu.xmlCode.service.impl;

import java.util.List;

import com.hualu.xmlCode.dao.VideoDetailViewDao;
import com.hualu.xmlCode.model.VideoDetailView;
import com.hualu.xmlCode.model.VideoDetailViewSearchCondition;
import com.hualu.xmlCode.service.VideoDetailViewManager;

public class VideoDetailViewManagerImpl implements VideoDetailViewManager {
    
    private VideoDetailViewDao videoDetailViewDao;

    public void setVideoDetailViewDao(VideoDetailViewDao videoDetailViewDao) {
        this.videoDetailViewDao = videoDetailViewDao;
    }
    
    public List<VideoDetailView> getVideoDetailViewList(){
        return videoDetailViewDao.getVideoDetailViewList();

    }
    
    public List<VideoDetailView> getVideoDetailViewListByCondition(VideoDetailViewSearchCondition videoDetailViewSearchCondition){
        return videoDetailViewDao.getVideoDetailViewListByCondition(videoDetailViewSearchCondition);
        
    }

}
